package per.zhang.vaccinesys.serverConsumer.entity;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;


/**
 * <p>
 * 
 * </p>
 *
 * @author Zhang
 * @since 2021-01-25
 */
@Data
@ApiModel(value="vaccine")
@NoArgsConstructor
@AllArgsConstructor
public class Vaccine implements Serializable {



    /**
     * 疫苗id
     */
    @ApiModelProperty(value = "疫苗id",name = "vaccineId",dataType = "Integer")
    private Integer vaccineId;

    /**
     * 疫苗名字
     */
    @ApiModelProperty(value = "疫苗名字",name = "vaccineName",dataType = "String")
    private String vaccineName;

    /**
     * 疫苗剩余量
     */
    @ApiModelProperty(value = "疫苗剩余量",name = "surplusNum",dataType = "Integer")
    private Integer surplusNum;

    /**
     * 疫苗状态，
     */
    @ApiModelProperty(value = "疫苗状态，0表示正常，1表示已下架",name = "state",dataType = "string")
    private String state;

    /**
     * 已预约数量，不能大于疫苗剩余量
     */
    @ApiModelProperty(value = "已预约数量，不能大于疫苗剩余量",name = "appointmentNum",dataType = "Integer")
    private Integer  appointmentNum;


}


